import React from 'react';
import Utils from "../utils";
import Constants from "../utils/Constants";

module.exports = [
  {
    key: 'search_like_name',
    title: '商品名称',
    dataType: 'varchar'
  },
  {
    key: 'search_eq_goodsNo',
    title: '商品编号',
    dataType: 'varchar'
  },
  {
    key: 'search_eq_status',
    title: '状态',
    dataType: 'varchar',
    showType: 'radio',
    options: Utils.map2kvArr(Constants.GOODS_STATUS_MAP)
  },
  {
    key: 'search_eq_categoryId',
    title: '商品分类',
    dataType: 'varchar',
    showType: 'select',
    options: [{key: 1, value: "实物"}]
  },
  {
    key: 'search_eq_examineStatus',
    title: '审核状态',
    dataType: 'varchar',
    showType: 'radio',
    options: Utils.map2kvArr(Constants.GOODS_EXAMINE_MAP),
  }
];